<template>
  <div>
    <h2>HomeIndex</h2>

    {{title}}
    <hr>
    {{count}}
    <button @click="count++">count++</button>
  </div>
</template>
<script setup >
import {storeToRefs} from 'pinia';
import {useShopStore,useInfoStore } from '@/store'

const shopStore =  useShopStore();
const {title,count} = storeToRefs(shopStore);

</script>